attach_downloads($aid);